package cn.jbolt.ec.retailer;

import cn.jbolt.base.JBoltBaseService;
import cn.jbolt.common.model.BecRetailerChargeBonus;
import com.jfinal.kit.Kv;

import java.util.List;

public class RetailerChargeBonusService extends JBoltBaseService<BecRetailerChargeBonus> {
    @Override
    protected BecRetailerChargeBonus dao(){
        return new BecRetailerChargeBonus().dao();
    }

    public List<BecRetailerChargeBonus> get_charge_bonus(int retailer_id){
        Kv cond= Kv.by("retailer_id",retailer_id);
        return  getCommonList(cond,"status","asc");

    }
}
